var limsQualitycontrolplanProject = Gikam.getPageObject({

    getEditListColumns: function () {
        return [{
            checkbox: true
        }, {
            index: true
        }, {
            field: 'productCode',
            title: 'T_LIMS_QUALITYCONTROLPLAN_PROJECT.PRODUCTCODE'
        }, {
            field: 'productName',
            title: 'T_LIMS_QUALITYCONTROLPLAN_PROJECT.PRODUCTNAME'
        }, {
            field: 'methodDesc',
            title: 'T_LIMS_QUALITYCONTROLPLAN_PROJECT.METHODDESC'
        }, {
            field: 'targetValue',
            title: 'T_LIMS_QUALITYCONTROLPLAN_PROJECT.TARGETVALUE'
        }, {
            field: 'standardDeviation',
            title: 'T_LIMS_QUALITYCONTROLPLAN_PROJECT.STANDARDDEVIATION'
        }, {
            field: 'cvValue',
            title: 'T_LIMS_QUALITYCONTROLPLAN_PROJECT.CVVALUE'
        }, {
            field: 'controlRule',
            title: 'T_LIMS_QUALITYCONTROLPLAN_PROJECT.CONTROLRULE'
        }];
    },

    getBaseInfoFormFields: function () {
        return [{
            field: 'productCode',
            title: 'T_LIMS_QUALITYCONTROLPLAN_PROJECT.PRODUCTCODE',
            validators: ['strLength[0,33]']
        }, {
            field: 'productName',
            title: 'T_LIMS_QUALITYCONTROLPLAN_PROJECT.PRODUCTNAME',
            validators: ['strLength[0,33]']
        }, {
            field: 'methodDesc',
            title: 'T_LIMS_QUALITYCONTROLPLAN_PROJECT.METHODDESC',
            validators: ['strLength[0,33]']
        }, {
            field: 'targetValue',
            title: 'T_LIMS_QUALITYCONTROLPLAN_PROJECT.TARGETVALUE',
            validators: ['strLength[0,16]']
        }, {
            field: 'standardDeviation',
            title: 'T_LIMS_QUALITYCONTROLPLAN_PROJECT.STANDARDDEVIATION',
            validators: ['strLength[0,16]']
        }, {
            field: 'cvValue',
            title: 'T_LIMS_QUALITYCONTROLPLAN_PROJECT.CVVALUE',
            validators: ['strLength[0,16]']
        }, {
            field: 'controlRule',
            title: 'T_LIMS_QUALITYCONTROLPLAN_PROJECT.CONTROLRULE',
            validators: ['strLength[0,66]']
        }];
    },

    baseUrl: IFM_CONTEXT + '/secure/basemodule/business/qualitycontrol/qualitycontrolplan-projects'
});
